<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.11.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>cppMISC: include/designM/vistor.hpp 源文件</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<script type="text/javascript" src="../../clipboard.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../cookie.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/javascript" src="../../darkmode_toggle.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">cppMISC<span id="projectnumber">&#160;v1.1</span>
   </div>
   <div id="projectbrief">cppMisc 文档系统</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.11.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(1); });
/* @license-end */
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('../../',true,false,'search.php','搜索',false);
  $(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){ initResizable(false); });
/* @license-end */
</script>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">载入中...</div>
<div class="SRStatus" id="Searching">搜索中...</div>
<div class="SRStatus" id="NoMatches">未找到</div>
</div>
</div>
</div>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="../../dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="../../dir_7815f4a69fa470e020068bb120d080ef.html">designM</a></li>  </ul>
</div>
</div><!-- top -->
<div id="doc-content">
<div class="header">
  <div class="headertitle"><div class="title">vistor.hpp</div></div>
</div><!--header-->
<div class="contents">
<a href="../../da/d1e/vistor_8hpp.html">浏览该文件的文档.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno">    1</span> </div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno">    6</span><span class="preprocessor">#include &lt;type_traits&gt;</span></div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno">    7</span><span class="preprocessor">#include &lt;unordered_map&gt;</span></div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno">    8</span><span class="preprocessor">#include &lt;functional&gt;</span></div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno">    9</span><span class="preprocessor">#include &lt;string&gt;</span></div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno">   10</span><span class="keyword">namespace </span><a class="code hl_namespace" href="../../df/d8d/namespacewheels.html">wheels</a>{<span class="keyword">namespace </span>dm{</div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno">   11</span><span class="keyword">template</span>&lt; <span class="keyword">typename</span> DATA_ITFC , <span class="keyword">typename</span> RET &gt;</div>
<div class="foldopen" id="foldopen00012" data-start="{" data-end="};">
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"><a class="line" href="../../d4/d63/classwheels_1_1dm_1_1vistor.html">   12</a></span><span class="keyword">class </span><a class="code hl_class" href="../../d4/d63/classwheels_1_1dm_1_1vistor.html">vistor</a></div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno">   13</span>{</div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno">   14</span><span class="keyword">public</span>:</div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"><a class="line" href="../../d4/d63/classwheels_1_1dm_1_1vistor.html#a2b28fd273da934cdb34a1e3cc89e448f">   15</a></span>    <span class="keyword">using </span><a class="code hl_typedef" href="../../d4/d63/classwheels_1_1dm_1_1vistor.html#a2b28fd273da934cdb34a1e3cc89e448f">dataItem_t</a>  = <span class="keyword">typename</span> std::remove_pointer&lt; typename std::decay&lt; DATA_ITFC &gt;::type &gt;::type;</div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"><a class="line" href="../../d4/d63/classwheels_1_1dm_1_1vistor.html#a5cc56c8d0a2c14ecb537513e922b75fc">   16</a></span>    <span class="keyword">using </span><a class="code hl_typedef" href="../../d4/d63/classwheels_1_1dm_1_1vistor.html#a5cc56c8d0a2c14ecb537513e922b75fc">func_t</a> = std::function&lt; RET ( <a class="code hl_typedef" href="../../d4/d63/classwheels_1_1dm_1_1vistor.html#a2b28fd273da934cdb34a1e3cc89e448f">dataItem_t</a>&amp; ) &gt;;</div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"><a class="line" href="../../d4/d63/classwheels_1_1dm_1_1vistor.html#aedaaaed0dbab094b9f1becaa6767a580">   17</a></span>    <span class="keyword">using </span><a class="code hl_typedef" href="../../d4/d63/classwheels_1_1dm_1_1vistor.html#aedaaaed0dbab094b9f1becaa6767a580">funcTan_t</a> = <span class="keyword">typename</span> std::unordered_map&lt; std::string , func_t &gt;;</div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno">   18</span><span class="keyword">protected</span>:</div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"><a class="line" href="../../d4/d63/classwheels_1_1dm_1_1vistor.html#a18f6d40971783dd20d9943dedd7f9087">   19</a></span>    <a class="code hl_typedef" href="../../d4/d63/classwheels_1_1dm_1_1vistor.html#aedaaaed0dbab094b9f1becaa6767a580">funcTan_t</a>    <a class="code hl_variable" href="../../d4/d63/classwheels_1_1dm_1_1vistor.html#a18f6d40971783dd20d9943dedd7f9087">m_funcs__</a>;</div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno">   20</span><span class="keyword">public</span>:</div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"><a class="line" href="../../d4/d63/classwheels_1_1dm_1_1vistor.html#add33b0b3ea74654964b37a244f03e99d">   21</a></span>    <a class="code hl_function" href="../../d4/d63/classwheels_1_1dm_1_1vistor.html#add33b0b3ea74654964b37a244f03e99d">vistor</a>(){}</div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"><a class="line" href="../../d4/d63/classwheels_1_1dm_1_1vistor.html#ac6343fb688d2f612511f394b95e8d9da">   22</a></span>    <span class="keyword">virtual</span> <a class="code hl_function" href="../../d4/d63/classwheels_1_1dm_1_1vistor.html#ac6343fb688d2f612511f394b95e8d9da">~vistor</a>(){}</div>
<div class="foldopen" id="foldopen00029" data-start="{" data-end="}">
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"><a class="line" href="../../d4/d63/classwheels_1_1dm_1_1vistor.html#a93bdea877cf6024793903cf2cb9b487f">   29</a></span>    <span class="keywordtype">bool</span> <a class="code hl_function" href="../../d4/d63/classwheels_1_1dm_1_1vistor.html#a93bdea877cf6024793903cf2cb9b487f">addMethod</a>( <span class="keyword">const</span> std::string&amp; name , <a class="code hl_typedef" href="../../d4/d63/classwheels_1_1dm_1_1vistor.html#a5cc56c8d0a2c14ecb537513e922b75fc">func_t</a> func ){</div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno">   30</span>        <span class="keyword">auto</span> rst = <a class="code hl_variable" href="../../d4/d63/classwheels_1_1dm_1_1vistor.html#a18f6d40971783dd20d9943dedd7f9087">m_funcs__</a>.insert( std::make_pair( name , func ) );</div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno">   31</span>        <span class="keywordflow">return</span> rst.second;</div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno">   32</span>    }</div>
</div>
<div class="foldopen" id="foldopen00038" data-start="{" data-end="}">
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"><a class="line" href="../../d4/d63/classwheels_1_1dm_1_1vistor.html#acf514db53ace887610fac22bc367d749">   38</a></span>    <span class="keywordtype">bool</span> <a class="code hl_function" href="../../d4/d63/classwheels_1_1dm_1_1vistor.html#acf514db53ace887610fac22bc367d749">eraseMethod</a>( <span class="keyword">const</span> std::string&amp; name ){</div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno">   39</span>        <span class="keyword">auto</span> it = <a class="code hl_variable" href="../../d4/d63/classwheels_1_1dm_1_1vistor.html#a18f6d40971783dd20d9943dedd7f9087">m_funcs__</a>.find( name );</div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno">   40</span>        <span class="keywordflow">if</span>( it != <a class="code hl_variable" href="../../d4/d63/classwheels_1_1dm_1_1vistor.html#a18f6d40971783dd20d9943dedd7f9087">m_funcs__</a>.end() ){</div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno">   41</span>            <a class="code hl_variable" href="../../d4/d63/classwheels_1_1dm_1_1vistor.html#a18f6d40971783dd20d9943dedd7f9087">m_funcs__</a>.erase( it );</div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno">   42</span>            <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno">   43</span>        }</div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno">   44</span>        </div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno">   45</span>        <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno">   46</span>    }</div>
</div>
<div class="foldopen" id="foldopen00050" data-start="{" data-end="}">
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"><a class="line" href="../../d4/d63/classwheels_1_1dm_1_1vistor.html#a56913ed4267c44c2514e3ebdb49ff329">   50</a></span>    <a class="code hl_typedef" href="../../d4/d63/classwheels_1_1dm_1_1vistor.html#a5cc56c8d0a2c14ecb537513e922b75fc">func_t</a> <a class="code hl_function" href="../../d4/d63/classwheels_1_1dm_1_1vistor.html#a56913ed4267c44c2514e3ebdb49ff329">operator[]</a>( <span class="keyword">const</span> std::string&amp; name ){</div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno">   51</span>        <span class="keyword">auto</span> it = <a class="code hl_variable" href="../../d4/d63/classwheels_1_1dm_1_1vistor.html#a18f6d40971783dd20d9943dedd7f9087">m_funcs__</a>.find( name );   </div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno">   52</span>        <span class="keywordflow">if</span>( it != <a class="code hl_variable" href="../../d4/d63/classwheels_1_1dm_1_1vistor.html#a18f6d40971783dd20d9943dedd7f9087">m_funcs__</a>.end() ){</div>
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno">   53</span>            <span class="keywordflow">return</span> it-&gt;second;</div>
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno">   54</span>        }</div>
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno">   55</span>        <span class="keywordflow">throw</span> std::runtime_error( <span class="stringliteral">&quot;指定索引的方法不存在&quot;</span> );</div>
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno">   56</span>    }</div>
</div>
<div class="foldopen" id="foldopen00062" data-start="{" data-end="}">
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"><a class="line" href="../../d4/d63/classwheels_1_1dm_1_1vistor.html#a5812de2908657d7b055f6988f4934ece">   62</a></span>    RET <a class="code hl_function" href="../../d4/d63/classwheels_1_1dm_1_1vistor.html#a5812de2908657d7b055f6988f4934ece">call</a>( <span class="keyword">const</span> std::string&amp; name, <a class="code hl_typedef" href="../../d4/d63/classwheels_1_1dm_1_1vistor.html#a2b28fd273da934cdb34a1e3cc89e448f">dataItem_t</a>&amp; data ){</div>
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno">   63</span>        <span class="keyword">auto</span> it = <a class="code hl_variable" href="../../d4/d63/classwheels_1_1dm_1_1vistor.html#a18f6d40971783dd20d9943dedd7f9087">m_funcs__</a>.find( name );   </div>
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno">   64</span>        <span class="keywordflow">if</span>( it != <a class="code hl_variable" href="../../d4/d63/classwheels_1_1dm_1_1vistor.html#a18f6d40971783dd20d9943dedd7f9087">m_funcs__</a>.end() ){</div>
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno">   65</span>            <span class="keywordflow">return</span> it-&gt;second( data );</div>
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno">   66</span>        }</div>
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno">   67</span>        <span class="keywordflow">return</span> {};</div>
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno">   68</span>    }</div>
</div>
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno">   74</span>    <span class="keyword">template</span>&lt; <span class="keyword">typename</span> InputIterator &gt;</div>
<div class="foldopen" id="foldopen00075" data-start="{" data-end="}">
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno"><a class="line" href="../../d4/d63/classwheels_1_1dm_1_1vistor.html#a2a38332afd91fdab54cd358a0e84fdbd">   75</a></span>    <span class="keywordtype">void</span> <a class="code hl_function" href="../../d4/d63/classwheels_1_1dm_1_1vistor.html#a2a38332afd91fdab54cd358a0e84fdbd">callEach</a>( <span class="keyword">const</span> std::string&amp; name , InputIterator begin , InputIterator end ){</div>
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno">   76</span>        <span class="keyword">auto</span> it = <a class="code hl_variable" href="../../d4/d63/classwheels_1_1dm_1_1vistor.html#a18f6d40971783dd20d9943dedd7f9087">m_funcs__</a>.find( name );</div>
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno">   77</span>        <span class="keywordflow">if</span>( it == <a class="code hl_variable" href="../../d4/d63/classwheels_1_1dm_1_1vistor.html#a18f6d40971783dd20d9943dedd7f9087">m_funcs__</a>.end() ){ </div>
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno">   78</span>            <span class="keywordflow">throw</span> std::runtime_error( <span class="stringliteral">&quot;指定索引的方法不存在&quot;</span> );</div>
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno">   79</span>        }</div>
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno">   80</span>        <span class="keywordflow">for</span>( <span class="keyword">auto</span> it1 = begin; it1 != end; ++it1 ){</div>
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno">   81</span>            it-&gt;second( *it1 );</div>
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno">   82</span>        }</div>
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno">   83</span>    }</div>
</div>
<div class="foldopen" id="foldopen00087" data-start="{" data-end="}">
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno"><a class="line" href="../../d4/d63/classwheels_1_1dm_1_1vistor.html#a4bb50b423f5ca883924bf29c6668d53c">   87</a></span>    <span class="keywordtype">bool</span> <a class="code hl_function" href="../../d4/d63/classwheels_1_1dm_1_1vistor.html#a4bb50b423f5ca883924bf29c6668d53c">has</a>( <span class="keyword">const</span> std::string&amp; name ){</div>
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno">   88</span>        <span class="keyword">auto</span> it = <a class="code hl_variable" href="../../d4/d63/classwheels_1_1dm_1_1vistor.html#a18f6d40971783dd20d9943dedd7f9087">m_funcs__</a>.find( name );</div>
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno">   89</span>        </div>
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno">   90</span>        <span class="keywordflow">return</span> it != <a class="code hl_variable" href="../../d4/d63/classwheels_1_1dm_1_1vistor.html#a18f6d40971783dd20d9943dedd7f9087">m_funcs__</a>.end();</div>
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno">   91</span>    }</div>
</div>
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno">   92</span>};</div>
</div>
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno">   93</span>}}</div>
<div class="ttc" id="aclasswheels_1_1dm_1_1vistor_html"><div class="ttname"><a href="../../d4/d63/classwheels_1_1dm_1_1vistor.html">wheels::dm::vistor</a></div><div class="ttdef"><b>定义</b> <a href="#l00012">vistor.hpp:13</a></div></div>
<div class="ttc" id="aclasswheels_1_1dm_1_1vistor_html_a18f6d40971783dd20d9943dedd7f9087"><div class="ttname"><a href="../../d4/d63/classwheels_1_1dm_1_1vistor.html#a18f6d40971783dd20d9943dedd7f9087">wheels::dm::vistor::m_funcs__</a></div><div class="ttdeci">funcTan_t m_funcs__</div><div class="ttdef"><b>定义</b> <a href="#l00019">vistor.hpp:19</a></div></div>
<div class="ttc" id="aclasswheels_1_1dm_1_1vistor_html_a2a38332afd91fdab54cd358a0e84fdbd"><div class="ttname"><a href="../../d4/d63/classwheels_1_1dm_1_1vistor.html#a2a38332afd91fdab54cd358a0e84fdbd">wheels::dm::vistor::callEach</a></div><div class="ttdeci">void callEach(const std::string &amp;name, InputIterator begin, InputIterator end)</div><div class="ttdoc">调用方法处理批量数据</div><div class="ttdef"><b>定义</b> <a href="#l00075">vistor.hpp:75</a></div></div>
<div class="ttc" id="aclasswheels_1_1dm_1_1vistor_html_a2b28fd273da934cdb34a1e3cc89e448f"><div class="ttname"><a href="../../d4/d63/classwheels_1_1dm_1_1vistor.html#a2b28fd273da934cdb34a1e3cc89e448f">wheels::dm::vistor::dataItem_t</a></div><div class="ttdeci">typename std::remove_pointer&lt; typename std::decay&lt; DATA_ITFC &gt;::type &gt;::type dataItem_t</div><div class="ttdef"><b>定义</b> <a href="#l00015">vistor.hpp:15</a></div></div>
<div class="ttc" id="aclasswheels_1_1dm_1_1vistor_html_a4bb50b423f5ca883924bf29c6668d53c"><div class="ttname"><a href="../../d4/d63/classwheels_1_1dm_1_1vistor.html#a4bb50b423f5ca883924bf29c6668d53c">wheels::dm::vistor::has</a></div><div class="ttdeci">bool has(const std::string &amp;name)</div><div class="ttdoc">检查是否存在指定的方法</div><div class="ttdef"><b>定义</b> <a href="#l00087">vistor.hpp:87</a></div></div>
<div class="ttc" id="aclasswheels_1_1dm_1_1vistor_html_a56913ed4267c44c2514e3ebdb49ff329"><div class="ttname"><a href="../../d4/d63/classwheels_1_1dm_1_1vistor.html#a56913ed4267c44c2514e3ebdb49ff329">wheels::dm::vistor::operator[]</a></div><div class="ttdeci">func_t operator[](const std::string &amp;name)</div><div class="ttdoc">这是一个方便操作接口，可以用过 vistor[&quot;abc&quot;]( data )调用处理数据</div><div class="ttdef"><b>定义</b> <a href="#l00050">vistor.hpp:50</a></div></div>
<div class="ttc" id="aclasswheels_1_1dm_1_1vistor_html_a5812de2908657d7b055f6988f4934ece"><div class="ttname"><a href="../../d4/d63/classwheels_1_1dm_1_1vistor.html#a5812de2908657d7b055f6988f4934ece">wheels::dm::vistor::call</a></div><div class="ttdeci">RET call(const std::string &amp;name, dataItem_t &amp;data)</div><div class="ttdoc">调用方法处理数据</div><div class="ttdef"><b>定义</b> <a href="#l00062">vistor.hpp:62</a></div></div>
<div class="ttc" id="aclasswheels_1_1dm_1_1vistor_html_a5cc56c8d0a2c14ecb537513e922b75fc"><div class="ttname"><a href="../../d4/d63/classwheels_1_1dm_1_1vistor.html#a5cc56c8d0a2c14ecb537513e922b75fc">wheels::dm::vistor::func_t</a></div><div class="ttdeci">std::function&lt; RET(dataItem_t &amp;) &gt; func_t</div><div class="ttdef"><b>定义</b> <a href="#l00016">vistor.hpp:16</a></div></div>
<div class="ttc" id="aclasswheels_1_1dm_1_1vistor_html_a93bdea877cf6024793903cf2cb9b487f"><div class="ttname"><a href="../../d4/d63/classwheels_1_1dm_1_1vistor.html#a93bdea877cf6024793903cf2cb9b487f">wheels::dm::vistor::addMethod</a></div><div class="ttdeci">bool addMethod(const std::string &amp;name, func_t func)</div><div class="ttdoc">添加处理方法</div><div class="ttdef"><b>定义</b> <a href="#l00029">vistor.hpp:29</a></div></div>
<div class="ttc" id="aclasswheels_1_1dm_1_1vistor_html_ac6343fb688d2f612511f394b95e8d9da"><div class="ttname"><a href="../../d4/d63/classwheels_1_1dm_1_1vistor.html#ac6343fb688d2f612511f394b95e8d9da">wheels::dm::vistor::~vistor</a></div><div class="ttdeci">virtual ~vistor()</div><div class="ttdef"><b>定义</b> <a href="#l00022">vistor.hpp:22</a></div></div>
<div class="ttc" id="aclasswheels_1_1dm_1_1vistor_html_acf514db53ace887610fac22bc367d749"><div class="ttname"><a href="../../d4/d63/classwheels_1_1dm_1_1vistor.html#acf514db53ace887610fac22bc367d749">wheels::dm::vistor::eraseMethod</a></div><div class="ttdeci">bool eraseMethod(const std::string &amp;name)</div><div class="ttdoc">移除方法</div><div class="ttdef"><b>定义</b> <a href="#l00038">vistor.hpp:38</a></div></div>
<div class="ttc" id="aclasswheels_1_1dm_1_1vistor_html_add33b0b3ea74654964b37a244f03e99d"><div class="ttname"><a href="../../d4/d63/classwheels_1_1dm_1_1vistor.html#add33b0b3ea74654964b37a244f03e99d">wheels::dm::vistor::vistor</a></div><div class="ttdeci">vistor()</div><div class="ttdef"><b>定义</b> <a href="#l00021">vistor.hpp:21</a></div></div>
<div class="ttc" id="aclasswheels_1_1dm_1_1vistor_html_aedaaaed0dbab094b9f1becaa6767a580"><div class="ttname"><a href="../../d4/d63/classwheels_1_1dm_1_1vistor.html#aedaaaed0dbab094b9f1becaa6767a580">wheels::dm::vistor::funcTan_t</a></div><div class="ttdeci">typename std::unordered_map&lt; std::string, func_t &gt; funcTan_t</div><div class="ttdef"><b>定义</b> <a href="#l00017">vistor.hpp:17</a></div></div>
<div class="ttc" id="anamespacewheels_html"><div class="ttname"><a href="../../df/d8d/namespacewheels.html">wheels</a></div><div class="ttdoc">堆栈信息读取和保存记录</div><div class="ttdef"><b>定义</b> <a href="../../d3/df7/ary__str_8hpp_source.html#l00006">ary_str.hpp:7</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.11.0
</small></address>
</div><!-- doc-content -->
</body>
</html>
